package com.wuliu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * app推送消息对象 sys_push_msg
 *
 * @author realue
 * @date 2023-11-06
 */
@ApiModel
public class SysPushMsg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @ApiModelProperty(value = "${comment}")
    private String id;

    /** 消息类型 */
    @Excel(name = "消息类型")
    @ApiModelProperty(value = "消息类型")
    private Integer msgType;

    /** 推送id(用户别名,电话号码等) */
    @Excel(name = "推送id(用户别名,电话号码等)")
    @ApiModelProperty(value = "推送id(用户别名,电话号码等)")
    private String alias;

    /** 通知内容标题 */
    @Excel(name = "通知内容标题")
    @ApiModelProperty(value = "通知内容标题")
    private String notificationTitle;

    /** 消息内容标题 */
    @Excel(name = "消息内容标题")
    @ApiModelProperty(value = "消息内容标题")
    private String msgTitle;

    /** 消息内容 */
    @Excel(name = "消息内容")
    @ApiModelProperty(value = "消息内容")
    private String content;

    /** 推送时间 */
    @Excel(name = "推送时间")
    @ApiModelProperty(value = "推送时间")
    private String pushTime;

    /** 推送状态 0.未推送 1.推送成功 2.推送失败 */
    @Excel(name = "推送状态 0.未推送 1.推送成功 2.推送失败")
    @ApiModelProperty(value = "推送状态 0.未推送 1.推送成功 2.推送失败")
    private Integer pushFlag;

    /** 是否已读 0否 1是 */
    @Excel(name = "是否已读 0否 1是")
    @ApiModelProperty(value = "是否已读 0否 1是")
    private Integer readFlag;

    /** 是否播放声音0否 1是 */
    @Excel(name = "是否播放声音0否 1是")
    @ApiModelProperty(value = "是否播放声音0否 1是")
    private Integer playVoiceFlag;

    /** 点击跳转链接 */
    @Excel(name = "点击跳转链接")
    @ApiModelProperty(value = "点击跳转链接")
    private String jumpUrl;

    /** 账套号 */
    @Excel(name = "账套号")
    @ApiModelProperty(value = "账套号")
    private String sysAccount;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setMsgType(Integer msgType)
    {
        this.msgType = msgType;
    }

    public Integer getMsgType()
    {
        return msgType;
    }
    public void setAlias(String alias)
    {
        this.alias = alias;
    }

    public String getAlias()
    {
        return alias;
    }
    public void setNotificationTitle(String notificationTitle)
    {
        this.notificationTitle = notificationTitle;
    }

    public String getNotificationTitle()
    {
        return notificationTitle;
    }
    public void setMsgTitle(String msgTitle)
    {
        this.msgTitle = msgTitle;
    }

    public String getMsgTitle()
    {
        return msgTitle;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setPushTime(String pushTime)
    {
        this.pushTime = pushTime;
    }

    public String getPushTime()
    {
        return pushTime;
    }
    public void setPushFlag(Integer pushFlag)
    {
        this.pushFlag = pushFlag;
    }

    public Integer getPushFlag()
    {
        return pushFlag;
    }
    public void setReadFlag(Integer readFlag)
    {
        this.readFlag = readFlag;
    }

    public Integer getReadFlag()
    {
        return readFlag;
    }
    public void setPlayVoiceFlag(Integer playVoiceFlag)
    {
        this.playVoiceFlag = playVoiceFlag;
    }

    public Integer getPlayVoiceFlag()
    {
        return playVoiceFlag;
    }
    public void setJumpUrl(String jumpUrl)
    {
        this.jumpUrl = jumpUrl;
    }

    public String getJumpUrl()
    {
        return jumpUrl;
    }
    public void setSysAccount(String sysAccount)
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount()
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("msgType", getMsgType())
                .append("alias", getAlias())
                .append("notificationTitle", getNotificationTitle())
                .append("msgTitle", getMsgTitle())
                .append("content", getContent())
                .append("pushTime", getPushTime())
                .append("pushFlag", getPushFlag())
                .append("readFlag", getReadFlag())
                .append("playVoiceFlag", getPlayVoiceFlag())
                .append("jumpUrl", getJumpUrl())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("sysAccount", getSysAccount())
                .append("remark", getRemark())
                .toString();
    }
}
